Einhugur macOS Bridge plugin.

NSWorkspace.HideOtherApplications Method

Hides all applications other than the sender.

shared HideOtherApplications()

Parameters

Remarks

In order to hide all apps except the current one, the user can Command-Option-click an app's Dock icon.

You must call this method from your app’s main thread.

See Also

NSWorkspace Class